Skip to content

[ML] Replace std::auto_ptr with std::unique_ptr #717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2019

Conversation

droberts195
Copy link
Contributor

std::auto_ptr has been removed from C++17, so we need
to stop using it before we can upgrade to C++17.

Also corrected the type name of a typedef of a
std::auto_ptr.

std::auto_ptr has been removed from C++17, so we need
to stop using it before we can upgrade to C++17.

Also corrected the type name of a typedef of a
std::auto_ptr.
Copy link
Contributor

@edsavage edsavage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@droberts195 droberts195 merged commit da93a40 into elastic:master Oct 4, 2019
droberts195 added a commit to droberts195/ml-cpp that referenced this pull request Oct 4, 2019
std::auto_ptr has been removed from C++17, so we need
to stop using it before we can upgrade to C++17.

Also corrected the type name of a typedef of a
std::auto_ptr.

Backport of elastic#717
droberts195 added a commit that referenced this pull request Oct 4, 2019
std::auto_ptr has been removed from C++17, so we need
to stop using it before we can upgrade to C++17.

Also corrected the type name of a typedef of a
std::auto_ptr.

Backport of #717
@droberts195 droberts195 deleted the remove_auto_ptr branch October 8, 2019 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants